package com.ytjj.qmyx.supplychain.common.model.request;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.metadata.BaseRowModel;
import jdk.nashorn.internal.ir.annotations.Ignore;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @Description 订单
 * @ClassName OrderRequest
 * 
 * 
 * @Version 1.0
 **/

@Data
public class OrdersRequest extends BaseRowModel {

    @ExcelProperty(index = 0,value = "订单号")
    private String orderNo;

    @ExcelProperty(index = 1,value = "姓名")
    private String userName;

    @ExcelProperty(index = 2,value = "手机号")
    private String userTel;

    @ExcelProperty(index = 3,value = "时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    @ExcelProperty(index = 4,value = "价格")
    private BigDecimal productPrice;

    @ExcelProperty(index = 5,value = "产品")
    private String productName;

    @ExcelProperty(index = 6,value = "地址")
    private String deliveryAddress;

    @ExcelProperty(index = 7,value = "仓库名称")
    private String warehouse;

    @ExcelProperty(index = 8,value = "备注")
    private String note;

    @Ignore
    private Integer bankerId;

    /**
     * 导入时间
     */
    @Ignore
    private Date importTime;

    /**
     * 导出时间
     */
    @Ignore
    private Date exportTime;

    /**
     * 是否导出
     */
    @Ignore
    private Byte isExport;

    /**
     * 更新时间
     */
    @Ignore
    private Date updateTime;

    /**
     * 快递状态 1->无状态 2-异常 3->正常
     */
    @Ignore
    private Byte status;


    /**
     * 快递流水
     */
    @Ignore
    private String expressRecord;

    /**
     * 订单来源
     */
    @Ignore
    private Byte source;

    @Ignore
    private Byte orderStatus;

    @Ignore
    private Byte isSync;

}
